package com.hmall.search.service;

import com.hmall.search.pojo.PageResult;
import com.hmall.search.pojo.RequestParams;

import java.util.List;
import java.util.Map;

/**
 * @Author: ahcfl
 * @Date: 2021年07月30日 10:55
 * @Description:
 */
public interface ISearchService{
    PageResult getList(RequestParams params);

    Map<String, List<String>> getFilters(RequestParams params);

    List<String> getSuggestion(String key);

    void deleteById(Long itemId);

    void saveById(Long itemId);

}
